package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account  string `gorm:"type:varchar(20);not null;comment:'账号'"`
	Password string `gorm:"type:char(32);not null;comment:'密码'"`
	Photo    string `gorm:"type:varchar(500);comment:'头像'"`
	Username string `gorm:"type:varchar(20);comment:'用户名'"`
}
